import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { Lazyload } from 'vant';
import 'reset-css'
import 'vant/lib/index.css'
import {createPinia} from 'pinia'
const app = createApp(App)
app.use(createPinia());

app.use(router)
app.use(Lazyload,{
    lazyComponent:true
})

app.config.globalProperties.$leftClick=()=>{
    history.back();
}
app.mount('#app')
